package oop3.pet;

public class PetTest {

	public static void main(String[] args) {
		Cat c = new Cat("小花花", 88, 99, "波斯猫", "公");
		c.show();
		c.catchMouse("米琪");
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>");
		Pet p = new Cat("大花花", 88, 99, "波斯猫", "公");
		p.show();
		/// p.catchMouse("米琪");
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>");
		Crocodile cd = new Crocodile("小鬼", 77, 90, "扬子鳄");
		cd.show();
		cd.swim();
	}

}
